IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityManager Class > ExecuteQueryAsync Method : ExecuteQueryAsync<T>(IEntityQuery<T>,CancellationToken) Method |
'Declaration
Public Overloads Function ExecuteQueryAsync(Of T)( _ ByVal query As IEntityQuery(Of T), _ ByVal cancellationToken As CancellationToken _ ) As Task(Of IEnumerable(Of T))
'Usage
Dim instance As EntityManager Dim query As IEntityQuery(Of T) Dim cancellationToken As CancellationToken Dim value As Task(Of IEnumerable(Of T)) value = instance.ExecuteQueryAsync(Of T)(query, cancellationToken)
public Task<IEnumerable<T>> ExecuteQueryAsync<T>( IEntityQuery<T> query, CancellationToken cancellationToken )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2